package com.example.bootdemo.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * @author yy
 */
@Data
@TableName("student")
public class Student  extends Model<User> implements Serializable {

    @TableId
    private Long studentId;
    private Long id;
    private Long dbid;
    private String fullname;
    private String uniqueNo;
    private Long clazzId;
    private Long gradeId;
    /*是否是新生*/
    private Boolean isNew ;
    private String clazzName;
    private String gradeName;

    @Override
    public Serializable pkVal() {
        // TODO Auto-generated method stub
        return this.studentId;
    }




}
